<template>
  <div class="container">
    <div class="box item-a">box1</div>
    <div class="box item-b">box2</div>
    <div class="box item-c">box3</div>
    <div class="box item-d">box4</div>
    <div class="box item-e">box5</div>
    <div class="box item-a">box1</div>
    <div class="box item-b">box2</div>
    <div class="box item-c">box3</div>
    <div class="box item-d">box4</div>
    <div class="box item-e">box5</div>
    <div class="box item-a">box1</div>
    <div class="box item-b">box2</div>
    <div class="box item-c">box3</div>
    <div class="box item-d">box4</div>
    <div class="box item-e">box5</div>
    <div class="box item-a">box1</div>
    <div class="box item-b">box2</div>
    <div class="box item-c">box3</div>
    <div class="box item-d">box4</div>
    <div class="box item-e">box5</div>
    <div class="box">3333</div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.container {
  width: 100%;
  height: 600px;
  /* background:darksalmon; */
  display: grid;
  text-align: center;
  font-size: 18px;
  grid-auto-rows: 10px;
  column-gap: 4px;
  grid-auto-columns: 60px;
  grid-template-columns: repeat(3, 60px);
  grid-auto-flow: dense;
}
.box{
  background: burlywood;
  grid-row: auto / span 5;
  margin-bottom: 10px;
}
.box:nth-of-type(3n+1){
  grid-row: auto / span 6
}
/* .item-a {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.item-b {
  grid-column: 6 / 8;
  grid-row: 4 / 8;
} */
.item-a {
  /* width: 20px;
  height: 20px;
  place-self: center;
  background: darkseagreen; */
  /* grid-column: 1;
  grid-row: 1 / 3; */
}
.item-e {
  /* grid-column: 5; */
  /* grid-row: 2/3; */
}
/* .item-a {
  grid-area: header;
  background: chocolate;
}
.item-b {
  grid-area: main;
  background: cornsilk;
}
.item-c {
  grid-area: sidebar;
  background: darkcyan;
}
.item-d {
  grid-area: footer;
  background: darkkhaki;
} */

</style>